<template>
    <!-- 管理体系 -> 安全管理 -->
    <div>
        <el-header>
            <div class="title">
                <div class="left-title"><span>安全管理</span></div>
                <div class="right-location">您所在的位置: &nbsp;
                    <!-- <span>网站首页 > 管理体系 > 安全管理</span> -->
                    <!-- 面包屑 -->
                    <el-breadcrumb separator-class="el-icon-arrow-right">
                        <el-breadcrumb-item :to="{ path: '/' }">网站首页</el-breadcrumb-item>
                        <el-breadcrumb-item>管理体系</el-breadcrumb-item>
                        <el-breadcrumb-item>安全管理</el-breadcrumb-item>
                    </el-breadcrumb>
                </div>
            </div>
        </el-header>

        <el-main>
            <div class="main-contont">
                <!-- 每条信息 -->
                <div class="contont-info" v-for="(item, index) in 4" :key="index">
                    <div class="left-img">
                        <img style="width:100%;height:100%" src="@/assets/12.png" alt="">
                    </div>
                    <div class="right-info">
                        <div class="info-title"><span>学术报告—— 有微⻛滑过的清⾹，有阳光照射的明媚，有树叶⼉滑落的声响</span></div>
                        <el-divider></el-divider>

                        <div class="introduce">
                            <span> 岁⽉轮转，时光静静的流逝，⾦秋的⻛，悄悄地拂过窗棂，轻轻地掀起清秋的⾯纱，听⻛，唱响时间的流淌，穿过，
                                岁⽉沧桑的河岸，仿佛，经年就在眼前，那些消失在岁⽉⻓河⾥的⼈和事，还有⼀些⼀些的美丽，都化着点滴斑斓，⻜散在这
                                个季节深处。岁⽉，就是⼀轮维修机，有再多磨合都已不在重要，重要的是有⼀颗宽容，淡定，从容的⼼。守着⼀份份清淡，
                                ⽣活已不再那么烦躁，或许，⽣活就是要我们简单随和</span>
                        </div>
                        <template v-solt="{ e }">
                            <el-button type="primary" round  class="btn" size="mini" @click="checkDetails()">查看详情 >
                                ></el-button>
                        </template>
                    </div>
                </div>

                <!-- 分页器 -->
                <div class="pangination">
                    <el-pagination background layout="prev, pager, next" :total="200">
                    </el-pagination>
                </div>
            </div>
        </el-main>
    </div>
</template>

<script>
export default {
    methods: {
        // 查看详情
        checkDetails() {
            console.log('查看详情');
        }
    }
}
</script>

<style lang="less" scoped>
.el-header {
    text-align: center;
    line-height: 60px;
    background: #fff;
    padding: 0 52px 0 0;

    // 顶部盒子
    .title {
        display: flex;
        justify-content: space-between;

        .left-title {
            font-weight: bold;
            font-size: 1.5rem;
            color: red;
        }
    }
}

.right-location {
    display: flex;
    justify-content: center;
    align-items: center;
    color: #b3b3b3;
    font-size: 0.8rem;
}
// 内容盒子
.el-main {
    height: 52vh;
    text-align: left;
    padding: 0;
    background: #fff;
}

.main-contont {
    width: 96%;
    height: 68vh;
    border: 1px solid #e7e7e7;
}

.contont-info {
    display: flex;
    margin: auto;
    padding: 20px;
    width: 95%;
    height: 7.4rem;
    border-bottom: 1px dashed #e7e7e7;
}

.left-img {
    width: 10.3125rem;
    height: 6.5rem;
    background: skyblue;
}

.right-info {
    width: 100%;
    font-size: 12px;
    padding-left: 13px;
}

.info-title {
    display: flex;
    justify-content: flex-start;
}

.el-divider--horizontal {
    margin: 9px 0;
}

.introduce {
    color: #919191;
    margin-bottom: 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.btn {
    float: left;
}

.pangination {
    width: 96%;
    height: 33px;
    position: absolute;
    bottom: 0;
    text-align: center;
    background: #fff;
}
</style>